package com.pth.service;

import java.util.List;

import com.pth.model.News;
import com.pth.utils.PageBean;

public interface NewsService {

	public void add(News news);
	
	public void delete(News news);
	
	public void modify(News news);
	
	public News getNewsByid(int id);
	
	public PageBean getNews(final int pagesize,final int page);
	
	public List<News> getNewsOrderByScannum();
	
	public List<News> getNew9news();
	
	
	List<News> getAllNews();
	
	void createIndex();
	
}
